package com.beagle.njddapp.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * @author hxx
 * @date 2021-06-30 10:32
 */
public class WxPayBean implements Serializable {

    /**
     * code : 0
     * desc : 成功
     * result : {"package":"Sign=WXPay","appid":"wx3d87e26691a0338a","sign":"v2SpxYqE5lZI4J0J8/cl7BaBfcHMDIxRk2u0ZnIP5ePlex3fUeDdtY9Mhsqv5cKfY4HWV2HXQmej5qdiB1t8x8gTua8dE4aYY7QfIXwOFjma767X2PEtk8dfKSdqLkT9w7nUvf3/gYySJbDpAvXvbtCYSq7T3wWrcKhdObl4x+4x7z9eyU/Q78IM+YWDj9trqQ9K4SAHZsAnht4smMJxFaZfTG7wPPaROPDd9Yy9ZgsxQhhaEcIGTSbKITxyJoA1DEaTaL8VhiHZ4CZHIrJp5SEM0VSSAOdszUJbx76iH9QTPaatIekJRWtPK0xmkkWEL6hD6x6JylAkfms/k+6n6g==","partnerid":"1611136361","noncestr":"uCXdfNds875mYEMhnUZkQz7Prz0fXDVL","prepay_id":"wx24143633081156d98e73ff1408a6c10000","timestamp":1624516599}
     */

    private String code;
    private String desc;
    private ResultBean result;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * package : Sign=WXPay
         * appid : wx3d87e26691a0338a
         * sign : v2SpxYqE5lZI4J0J8/cl7BaBfcHMDIxRk2u0ZnIP5ePlex3fUeDdtY9Mhsqv5cKfY4HWV2HXQmej5qdiB1t8x8gTua8dE4aYY7QfIXwOFjma767X2PEtk8dfKSdqLkT9w7nUvf3/gYySJbDpAvXvbtCYSq7T3wWrcKhdObl4x+4x7z9eyU/Q78IM+YWDj9trqQ9K4SAHZsAnht4smMJxFaZfTG7wPPaROPDd9Yy9ZgsxQhhaEcIGTSbKITxyJoA1DEaTaL8VhiHZ4CZHIrJp5SEM0VSSAOdszUJbx76iH9QTPaatIekJRWtPK0xmkkWEL6hD6x6JylAkfms/k+6n6g==
         * partnerid : 1611136361
         * noncestr : uCXdfNds875mYEMhnUZkQz7Prz0fXDVL
         * prepay_id : wx24143633081156d98e73ff1408a6c10000
         * timestamp : 1624516599
         */

        @SerializedName("package")
        private String packageX;
        private String appid;
        private String sign;
        private String partnerid;
        private String noncestr;
        private String prepay_id;
        private int timestamp;

        public String getPackageX() {
            return packageX;
        }

        public void setPackageX(String packageX) {
            this.packageX = packageX;
        }

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public String getPartnerid() {
            return partnerid;
        }

        public void setPartnerid(String partnerid) {
            this.partnerid = partnerid;
        }

        public String getNoncestr() {
            return noncestr;
        }

        public void setNoncestr(String noncestr) {
            this.noncestr = noncestr;
        }

        public String getPrepay_id() {
            return prepay_id;
        }

        public void setPrepay_id(String prepay_id) {
            this.prepay_id = prepay_id;
        }

        public int getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(int timestamp) {
            this.timestamp = timestamp;
        }
    }
}
